<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
         <p:panel>
            <h:outputText value="Ajouter un marquage :"/></p:panel>
        <f:view>
            <h:form>
              
                <h:panelGrid columns="2">
                    <h:outputLabel value="Refmarquage:" for="refmarquage" />
                    <p:inputText id="refmarquage" value="#{ajoutMarquageMBean.refmarq}" title="Refmarquage" required="true" requiredMessage="The Refmarquage field is required."/>
                    <h:outputLabel value="VecteurMarquage:" for="vecteurMarquage" />
                    <p:inputText id="vecteurMarquage" value="#{ajoutMarquageMBean.vectMarq}" title="VecteurMarquage" required="true" requiredMessage="The VecteurMarquage field is required."/>
                    <h:outputLabel value="Idm:" for="idm" />
                    <p:inputText id="idm" value="#{modelerdpMBean.byIdm(item)}" title="Idm" required="true" requiredMessage="The Idm is required."/>
                </h:panelGrid>
                <p:commandButton id="subButton" value="valider" action="#{ajoutMarquageMBean.saveMarq}"  ajax="false"/>    
                <p:commandButton id="back" value="Back" action="#{marquageMBean.allMarquage}" ajax="false"/> 
            </h:form>
        </f:view>

    </h:body>
</html>